package Case01.Interface_;

import Case01.demo01.Pupil;

public class SonLikeDo implements IDadLikeDo, IMonLikeDo {

   public void ride(){
       System.out.println("骑车~~");
   }
   public void basketball(){
       System.out.println("打篮球~~~");
   }

   public void sing(){
       System.out.println("唱歌~~~~");
   }

   public void dance(){
       System.out.println("跳舞~~~~");
   }

    public static void main(String[] args) {
        System.out.println("儿子喜欢做的事：");
        SonLikeDo sonLikeDo = new SonLikeDo();
        sonLikeDo.ride();
        sonLikeDo.basketball();
        sonLikeDo.sing();
        sonLikeDo.dance();
    }

}
